package com.cskaoyan.market.db.admin.vo;

import java.util.List;

/**
 * @author 小焦
 * @since 2023/03/18 19:58
 */
public class RegionInnerRegionVo {
	/**
	 * id : 3 name : 河北省 type : 1 code : 130000 children :
	 * [{"id":34,"name":"石家庄市","type":2,"code":130100,"children":[{"id":408,"name":"长安区","type":3,"code":130102}]}]
	 */

	private Integer id;
	private String name;
	// type : 1省份 2市 3区/县
	private Byte type;
	private Integer code;
	private List<RegionInnerRegionVo> children;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Byte getType() {
		return type;
	}

	public void setType(Byte type) {
		this.type = type;
	}

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public List<RegionInnerRegionVo> getChildren() {
		return children;
	}

	public void setChildren(List<RegionInnerRegionVo> children) {
		this.children = children;
	}
}
